#pragma once

#include "Includes.h"
#include "IniWrapper.h"
#include "HL2Interface.h"

class ConfigManager
{
private:
	bool Aimbot;
	bool SilentAim;
	bool NoSpread;
	bool NoRecoil;
	bool Trigger;
	bool TriggerHeadshotOnly;
	bool Esp;
	bool NoSky;
	bool NoFlash;
	bool NoSmoke;
	bool NoHands;
	bool Asus;
	bool AutoPistol;
	bool Crosshair;
	bool Bhop;
	bool RadarHack;
	char ActiveFeatureString[1024];
public:
private:
	void UpdateFeatureString();
	void LoadSection(char* Section);
	void ExecuteCurrent();
public:
	void Load();
	void Execute1();
	void Execute2();
	void Execute3();
	void Execute4();
	void Execute5();
	void Execute6();
	char* GetActiveFeatureString();
};

extern ConfigManager g_pConfigManager;